package org.inspursc.s0517.health.common.entity;

import lombok.Data;

import javax.persistence.Entity;
import java.util.Date;

/**
 * @author yuchu
 */
@Data
@Entity(name = "sys_log")
public class SysLog extends AbstractIdEntity {

    private int operationId;

    private String ip;

    private Date time;

    private String content;

    public SysLog(int operationId, String ip, Date time, String content) {
        this.operationId = operationId;
        this.ip = ip;
        this.time = time;
        this.content = content;
    }
}
